home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6783 < prev    next >
Encoding:
Text File  |  1996-08-05  |  673 b   |  26 lines

  1. Path: news.NetVision.net.il!news
  2. From: Shlomo Wygodny <wygodny@mercury.co.il>
  3. Newsgroups: comp.lang.c++
  4. Subject: meaning of int a::*b
  5. Date: Mon, 19 Feb 1996 11:16:55 +0200
  6. Organization: Mercury Interactive
  7. Message-ID: <31284007.7977@mercury.co.il>
  8. NNTP-Posting-Host: nina.mercury.co.il
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b6a (WinNT; I)
  13.  
  14. In the following (compilable) program:
  15.  
  16. class a{};
  17. int a::*b;
  18. void main(){}
  19.  
  20. Does someone know what is the meaning of int a::*b; ?
  21. It's probably a declaration of a variable b of type int a::* . 
  22. But what
  23. does it mean? What can be assigned to it?
  24.  
  25. - Shlomo.
  26.